Goes on: Scale (reads the layer's own Position)
The faster the layer moves, the more it stretches along the move and thins across it. Instant cartoon weight.

// Squash & Stretch — Coherent Motion Expressions · getcoherent.app/resources
// Stretches along the direction the layer travels, by how fast it travels.
var amount = 0.0005; // stretch per pixel per second
var limit = 0.4;     // never stretch more than 40 %
var v = transform.position.velocity;
var speed = Math.sqrt(v[0] * v[0] + v[1] * v[1]);
var s = Math.min(limit, speed * amount);
var horizontal = Math.abs(v[0]) >= Math.abs(v[1]);
var sx = horizontal ? 1 + s : 1 / (1 + s), sy = horizontal ? 1 / (1 + s) : 1 + s;
var out = [value[0] * sx, value[1] * sy];
if (value.length > 2) out.push(value[2]);
out
